#include "TileRenderer.h"


CTileRenderer::CTileRenderer(void)
{

	int i=0;
	int arraySize = sizeof(images) / sizeof(HANDLE);
	while(i < arraySize)
	{
		this->images[i] = emptyHandle;
		i++;
	}
	initTiles();
}

CTileRenderer::~CTileRenderer(void)
{	
}

void CTileRenderer::DrawTile(HDC bufDC, int **&tile, int x, int y){
	
	RenderHelper::RenderBitmap(bufDC, getImage(tile[x][y]), x * Constants.TILEWIDTH, y * Constants.TILEHEIGHT, Constants.TILEWIDTH, Constants.TILEWIDTH);
}


HANDLE CTileRenderer::getImage(int index){
	if(images[index] == this->emptyHandle){
		char file[50];
		strcpy(file, myTiles[index].path.c_str());

		images[index] = LoadImage(NULL, file, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
	}
	return images[index];
}


void CTileRenderer::initTiles(){
myTiles[0].id = 0; 
myTiles[0].name = "0"; 
myTiles[0].walkable = true; 
myTiles[0].path = "res/000.bmp"; 

myTiles[1].id = 1; 
myTiles[1].name = "1"; 
myTiles[1].walkable = true; 
myTiles[1].path = "res/001.bmp"; 

myTiles[2].id = 2; 
myTiles[2].name = "2"; 
myTiles[2].walkable = false; 
myTiles[2].path = "res/002.bmp"; 

myTiles[3].id = 3; 
myTiles[3].name = "3"; 
myTiles[3].walkable = true; 
myTiles[3].path = "res/003.bmp"; 

myTiles[4].id = 4; 
myTiles[4].name = "4"; 
myTiles[4].walkable = false; 
myTiles[4].path = "res/004.bmp"; 

myTiles[5].id = 5; 
myTiles[5].name = "5"; 
myTiles[5].walkable = false; 
myTiles[5].path = "res/005.bmp"; 

myTiles[6].id = 6; 
myTiles[6].name = "6"; 
myTiles[6].walkable = false; 
myTiles[6].path = "res/006.bmp"; 

myTiles[7].id = 7; 
myTiles[7].name = "7"; 
myTiles[7].walkable = false; 
myTiles[7].path = "res/007.bmp"; 

myTiles[8].id = 8; 
myTiles[8].name = "8"; 
myTiles[8].walkable = false; 
myTiles[8].path = "res/008.bmp"; 

myTiles[9].id = 9; 
myTiles[9].name = "9"; 
myTiles[9].walkable = false; 
myTiles[9].path = "res/009.bmp"; 

myTiles[10].id = 10; 
myTiles[10].name = "10"; 
myTiles[10].walkable = false; 
myTiles[10].path = "res/010.bmp"; 

myTiles[11].id = 11; 
myTiles[11].name = "11"; 
myTiles[11].walkable = false; 
myTiles[11].path = "res/011.bmp"; 

myTiles[12].id = 12; 
myTiles[12].name = "12"; 
myTiles[12].walkable = false; 
myTiles[12].path = "res/012.bmp"; 

myTiles[13].id = 13; 
myTiles[13].name = "13"; 
myTiles[13].walkable = false; 
myTiles[13].path = "res/013.bmp"; 

myTiles[14].id = 14; 
myTiles[14].name = "14"; 
myTiles[14].walkable = false; 
myTiles[14].path = "res/014.bmp"; 

myTiles[15].id = 15; 
myTiles[15].name = "15"; 
myTiles[15].walkable = false; 
myTiles[15].path = "res/015.bmp"; 

myTiles[16].id = 16; 
myTiles[16].name = "16"; 
myTiles[16].walkable = false; 
myTiles[16].path = "res/016.bmp"; 

myTiles[17].id = 17; 
myTiles[17].name = "17"; 
myTiles[17].walkable = false; 
myTiles[17].path = "res/017.bmp"; 

myTiles[18].id = 18; 
myTiles[18].name = "18"; 
myTiles[18].walkable = false; 
myTiles[18].path = "res/018.bmp"; 

myTiles[19].id = 19; 
myTiles[19].name = "19"; 
myTiles[19].walkable = false; 
myTiles[19].path = "res/019.bmp"; 

myTiles[20].id = 20; 
myTiles[20].name = "20"; 
myTiles[20].walkable = false; 
myTiles[20].path = "res/020.bmp"; 

myTiles[21].id = 21; 
myTiles[21].name = "21"; 
myTiles[21].walkable = false; 
myTiles[21].path = "res/021.bmp"; 

myTiles[22].id = 22; 
myTiles[22].name = "22"; 
myTiles[22].walkable = false; 
myTiles[22].path = "res/022.bmp"; 

myTiles[23].id = 23; 
myTiles[23].name = "23"; 
myTiles[23].walkable = false; 
myTiles[23].path = "res/023.bmp"; 

myTiles[24].id = 24; 
myTiles[24].name = "24"; 
myTiles[24].walkable = false; 
myTiles[24].path = "res/024.bmp"; 

myTiles[25].id = 25; 
myTiles[25].name = "25"; 
myTiles[25].walkable = false; 
myTiles[25].path = "res/025.bmp"; 

myTiles[26].id = 26; 
myTiles[26].name = "26"; 
myTiles[26].walkable = false; 
myTiles[26].path = "res/026.bmp"; 

myTiles[27].id = 27; 
myTiles[27].name = "27"; 
myTiles[27].walkable = false; 
myTiles[27].path = "res/027.bmp"; 

myTiles[28].id = 28; 
myTiles[28].name = "28"; 
myTiles[28].walkable = false; 
myTiles[28].path = "res/028.bmp"; 

myTiles[29].id = 29; 
myTiles[29].name = "29"; 
myTiles[29].walkable = false; 
myTiles[29].path = "res/029.bmp"; 

myTiles[30].id = 30; 
myTiles[30].name = "30"; 
myTiles[30].walkable = false; 
myTiles[30].path = "res/030.bmp"; 

myTiles[31].id = 31; 
myTiles[31].name = "31"; 
myTiles[31].walkable = false; 
myTiles[31].path = "res/031.bmp"; 

myTiles[32].id = 32; 
myTiles[32].name = "32"; 
myTiles[32].walkable = false; 
myTiles[32].path = "res/032.bmp"; 

myTiles[33].id = 33; 
myTiles[33].name = "33"; 
myTiles[33].walkable = false; 
myTiles[33].path = "res/033.bmp"; 

myTiles[34].id = 34; 
myTiles[34].name = "34"; 
myTiles[34].walkable = false; 
myTiles[34].path = "res/034.bmp"; 

myTiles[35].id = 35; 
myTiles[35].name = "35"; 
myTiles[35].walkable = false; 
myTiles[35].path = "res/035.bmp"; 

myTiles[36].id = 36; 
myTiles[36].name = "36"; 
myTiles[36].walkable = false; 
myTiles[36].path = "res/036.bmp"; 

myTiles[37].id = 37; 
myTiles[37].name = "37"; 
myTiles[37].walkable = false; 
myTiles[37].path = "res/037.bmp"; 

myTiles[38].id = 38; 
myTiles[38].name = "38"; 
myTiles[38].walkable = false; 
myTiles[38].path = "res/038.bmp"; 

myTiles[39].id = 39; 
myTiles[39].name = "39"; 
myTiles[39].walkable = false; 
myTiles[39].path = "res/039.bmp"; 

myTiles[40].id = 40; 
myTiles[40].name = "40"; 
myTiles[40].walkable = false; 
myTiles[40].path = "res/040.bmp"; 

myTiles[41].id = 41; 
myTiles[41].name = "41"; 
myTiles[41].walkable = false; 
myTiles[41].path = "res/041.bmp"; 

myTiles[42].id = 42; 
myTiles[42].name = "42"; 
myTiles[42].walkable = false; 
myTiles[42].path = "res/042.bmp"; 

myTiles[43].id = 43; 
myTiles[43].name = "43"; 
myTiles[43].walkable = false; 
myTiles[43].path = "res/043.bmp"; 

myTiles[44].id = 44; 
myTiles[44].name = "44"; 
myTiles[44].walkable = false; 
myTiles[44].path = "res/044.bmp"; 

myTiles[45].id = 45; 
myTiles[45].name = "45"; 
myTiles[45].walkable = false; 
myTiles[45].path = "res/045.bmp"; 

myTiles[46].id = 46; 
myTiles[46].name = "46"; 
myTiles[46].walkable = false; 
myTiles[46].path = "res/046.bmp"; 

myTiles[47].id = 47; 
myTiles[47].name = "47"; 
myTiles[47].walkable = false; 
myTiles[47].path = "res/047.bmp"; 

myTiles[48].id = 48; 
myTiles[48].name = "48"; 
myTiles[48].walkable = false; 
myTiles[48].path = "res/048.bmp"; 

myTiles[49].id = 49; 
myTiles[49].name = "49"; 
myTiles[49].walkable = false; 
myTiles[49].path = "res/049.bmp"; 

myTiles[50].id = 50; 
myTiles[50].name = "50"; 
myTiles[50].walkable = false; 
myTiles[50].path = "res/050.bmp"; 

myTiles[51].id = 51; 
myTiles[51].name = "51"; 
myTiles[51].walkable = false; 
myTiles[51].path = "res/051.bmp"; 

myTiles[52].id = 52; 
myTiles[52].name = "52"; 
myTiles[52].walkable = false; 
myTiles[52].path = "res/052.bmp"; 

myTiles[53].id = 53; 
myTiles[53].name = "53"; 
myTiles[53].walkable = false; 
myTiles[53].path = "res/053.bmp"; 

myTiles[54].id = 54; 
myTiles[54].name = "54"; 
myTiles[54].walkable = false; 
myTiles[54].path = "res/054.bmp"; 

myTiles[55].id = 55; 
myTiles[55].name = "55"; 
myTiles[55].walkable = false; 
myTiles[55].path = "res/055.bmp"; 

myTiles[56].id = 56; 
myTiles[56].name = "56"; 
myTiles[56].walkable = false; 
myTiles[56].path = "res/056.bmp"; 

myTiles[57].id = 57; 
myTiles[57].name = "57"; 
myTiles[57].walkable = false; 
myTiles[57].path = "res/057.bmp"; 

myTiles[58].id = 58; 
myTiles[58].name = "58"; 
myTiles[58].walkable = false; 
myTiles[58].path = "res/058.bmp"; 

myTiles[59].id = 59; 
myTiles[59].name = "59"; 
myTiles[59].walkable = false; 
myTiles[59].path = "res/059.bmp"; 

myTiles[60].id = 60; 
myTiles[60].name = "60"; 
myTiles[60].walkable = false; 
myTiles[60].path = "res/060.bmp"; 

myTiles[61].id = 61; 
myTiles[61].name = "61"; 
myTiles[61].walkable = false; 
myTiles[61].path = "res/061.bmp"; 

myTiles[62].id = 62; 
myTiles[62].name = "62"; 
myTiles[62].walkable = false; 
myTiles[62].path = "res/062.bmp"; 

myTiles[63].id = 63; 
myTiles[63].name = "63"; 
myTiles[63].walkable = false; 
myTiles[63].path = "res/063.bmp"; 

myTiles[64].id = 64; 
myTiles[64].name = "64"; 
myTiles[64].walkable = false; 
myTiles[64].path = "res/064.bmp"; 

myTiles[65].id = 65; 
myTiles[65].name = "65"; 
myTiles[65].walkable = false; 
myTiles[65].path = "res/065.bmp"; 

myTiles[66].id = 66; 
myTiles[66].name = "66"; 
myTiles[66].walkable = false; 
myTiles[66].path = "res/066.bmp"; 

myTiles[67].id = 67; 
myTiles[67].name = "67"; 
myTiles[67].walkable = false; 
myTiles[67].path = "res/067.bmp"; 

myTiles[68].id = 68; 
myTiles[68].name = "68"; 
myTiles[68].walkable = false; 
myTiles[68].path = "res/068.bmp"; 

myTiles[69].id = 69; 
myTiles[69].name = "69"; 
myTiles[69].walkable = false; 
myTiles[69].path = "res/069.bmp"; 

myTiles[70].id = 70; 
myTiles[70].name = "70"; 
myTiles[70].walkable = false; 
myTiles[70].path = "res/070.bmp"; 

myTiles[71].id = 71; 
myTiles[71].name = "71"; 
myTiles[71].walkable = false; 
myTiles[71].path = "res/071.bmp"; 

myTiles[72].id = 72; 
myTiles[72].name = "72"; 
myTiles[72].walkable = false; 
myTiles[72].path = "res/072.bmp"; 

myTiles[73].id = 73; 
myTiles[73].name = "73"; 
myTiles[73].walkable = false; 
myTiles[73].path = "res/073.bmp"; 

myTiles[74].id = 74; 
myTiles[74].name = "74"; 
myTiles[74].walkable = false; 
myTiles[74].path = "res/074.bmp"; 

myTiles[75].id = 75; 
myTiles[75].name = "75"; 
myTiles[75].walkable = false; 
myTiles[75].path = "res/075.bmp"; 

myTiles[76].id = 76; 
myTiles[76].name = "76"; 
myTiles[76].walkable = false; 
myTiles[76].path = "res/076.bmp"; 

myTiles[77].id = 77; 
myTiles[77].name = "77"; 
myTiles[77].walkable = false; 
myTiles[77].path = "res/077.bmp"; 

myTiles[78].id = 78; 
myTiles[78].name = "78"; 
myTiles[78].walkable = false; 
myTiles[78].path = "res/078.bmp"; 

myTiles[79].id = 79; 
myTiles[79].name = "79"; 
myTiles[79].walkable = false; 
myTiles[79].path = "res/079.bmp"; 

myTiles[80].id = 80; 
myTiles[80].name = "80"; 
myTiles[80].walkable = false; 
myTiles[80].path = "res/080.bmp"; 

myTiles[81].id = 81; 
myTiles[81].name = "81"; 
myTiles[81].walkable = true; 
myTiles[81].path = "res/081.bmp"; 

myTiles[82].id = 82; 
myTiles[82].name = "82"; 
myTiles[82].walkable = false; 
myTiles[82].path = "res/082.bmp"; 

myTiles[83].id = 83; 
myTiles[83].name = "83"; 
myTiles[83].walkable = false; 
myTiles[83].path = "res/083.bmp"; 

myTiles[84].id = 84; 
myTiles[84].name = "84"; 
myTiles[84].walkable = false; 
myTiles[84].path = "res/084.bmp"; 

myTiles[85].id = 85; 
myTiles[85].name = "85"; 
myTiles[85].walkable = false; 
myTiles[85].path = "res/085.bmp"; 

myTiles[86].id = 86; 
myTiles[86].name = "86"; 
myTiles[86].walkable = false; 
myTiles[86].path = "res/086.bmp"; 

myTiles[87].id = 87; 
myTiles[87].name = "87"; 
myTiles[87].walkable = false; 
myTiles[87].path = "res/087.bmp"; 

myTiles[88].id = 88; 
myTiles[88].name = "88"; 
myTiles[88].walkable = false; 
myTiles[88].path = "res/088.bmp"; 

myTiles[89].id = 89; 
myTiles[89].name = "89"; 
myTiles[89].walkable = false; 
myTiles[89].path = "res/089.bmp"; 

myTiles[90].id = 90; 
myTiles[90].name = "90"; 
myTiles[90].walkable = false; 
myTiles[90].path = "res/090.bmp"; 

myTiles[91].id = 91; 
myTiles[91].name = "91"; 
myTiles[91].walkable = false; 
myTiles[91].path = "res/091.bmp"; 

myTiles[92].id = 92; 
myTiles[92].name = "92"; 
myTiles[92].walkable = false; 
myTiles[92].path = "res/092.bmp"; 

myTiles[93].id = 93; 
myTiles[93].name = "93"; 
myTiles[93].walkable = false; 
myTiles[93].path = "res/093.bmp"; 

myTiles[94].id = 94; 
myTiles[94].name = "94"; 
myTiles[94].walkable = false; 
myTiles[94].path = "res/094.bmp"; 

myTiles[95].id = 95; 
myTiles[95].name = "95"; 
myTiles[95].walkable = false; 
myTiles[95].path = "res/095.bmp"; 

myTiles[96].id = 96; 
myTiles[96].name = "96"; 
myTiles[96].walkable = false; 
myTiles[96].path = "res/096.bmp"; 

myTiles[97].id = 97; 
myTiles[97].name = "97"; 
myTiles[97].walkable = false; 
myTiles[97].path = "res/097.bmp"; 

myTiles[98].id = 98; 
myTiles[98].name = "98"; 
myTiles[98].walkable = false; 
myTiles[98].path = "res/098.bmp"; 

myTiles[99].id = 99; 
myTiles[99].name = "99"; 
myTiles[99].walkable = false; 
myTiles[99].path = "res/099.bmp"; 

myTiles[100].id = 100; 
myTiles[100].name = "100"; 
myTiles[100].walkable = false; 
myTiles[100].path = "res/100.bmp"; 

myTiles[101].id = 101; 
myTiles[101].name = "101"; 
myTiles[101].walkable = false; 
myTiles[101].path = "res/101.bmp"; 

myTiles[102].id = 102; 
myTiles[102].name = "102"; 
myTiles[102].walkable = true; 
myTiles[102].path = "res/102.bmp"; 

myTiles[103].id = 103; 
myTiles[103].name = "103"; 
myTiles[103].walkable = true; 
myTiles[103].path = "res/103.bmp"; 

myTiles[104].id = 104; 
myTiles[104].name = "104"; 
myTiles[104].walkable = true; 
myTiles[104].path = "res/104.bmp"; 

myTiles[105].id = 105; 
myTiles[105].name = "105"; 
myTiles[105].walkable = true; 
myTiles[105].path = "res/105.bmp"; 

myTiles[106].id = 106; 
myTiles[106].name = "106"; 
myTiles[106].walkable = true; 
myTiles[106].path = "res/106.bmp"; 

myTiles[107].id = 107; 
myTiles[107].name = "107"; 
myTiles[107].walkable = true; 
myTiles[107].path = "res/107.bmp"; 

myTiles[108].id = 108; 
myTiles[108].name = "108"; 
myTiles[108].walkable = true; 
myTiles[108].path = "res/108.bmp"; 

myTiles[109].id = 109; 
myTiles[109].name = "109"; 
myTiles[109].walkable = true; 
myTiles[109].path = "res/109.bmp"; 

myTiles[110].id = 110; 
myTiles[110].name = "110"; 
myTiles[110].walkable = true; 
myTiles[110].path = "res/110.bmp"; 

myTiles[111].id = 111; 
myTiles[111].name = "111"; 
myTiles[111].walkable = true; 
myTiles[111].path = "res/111.bmp"; 

myTiles[112].id = 112; 
myTiles[112].name = "112"; 
myTiles[112].walkable = true; 
myTiles[112].path = "res/112.bmp"; 

myTiles[113].id = 113; 
myTiles[113].name = "113"; 
myTiles[113].walkable = true; 
myTiles[113].path = "res/113.bmp"; 

myTiles[114].id = 114; 
myTiles[114].name = "114"; 
myTiles[114].walkable = true; 
myTiles[114].path = "res/114.bmp"; 

myTiles[115].id = 115; 
myTiles[115].name = "115"; 
myTiles[115].walkable = true; 
myTiles[115].path = "res/115.bmp"; 

myTiles[116].id = 116; 
myTiles[116].name = "116"; 
myTiles[116].walkable = true; 
myTiles[116].path = "res/116.bmp"; 

myTiles[117].id = 117; 
myTiles[117].name = "117"; 
myTiles[117].walkable = true; 
myTiles[117].path = "res/117.bmp"; 

myTiles[118].id = 118; 
myTiles[118].name = "118"; 
myTiles[118].walkable = true; 
myTiles[118].path = "res/118.bmp"; 

myTiles[119].id = 119; 
myTiles[119].name = "119"; 
myTiles[119].walkable = true; 
myTiles[119].path = "res/119.bmp"; 

myTiles[120].id = 120; 
myTiles[120].name = "120"; 
myTiles[120].walkable = true; 
myTiles[120].path = "res/120.bmp"; 

myTiles[121].id = 121; 
myTiles[121].name = "121"; 
myTiles[121].walkable = true; 
myTiles[121].path = "res/121.bmp"; 

myTiles[122].id = 122; 
myTiles[122].name = "122"; 
myTiles[122].walkable = true; 
myTiles[122].path = "res/122.bmp"; 

myTiles[123].id = 123; 
myTiles[123].name = "123"; 
myTiles[123].walkable = true; 
myTiles[123].path = "res/123.bmp"; 

myTiles[124].id = 124; 
myTiles[124].name = "124"; 
myTiles[124].walkable = true; 
myTiles[124].path = "res/124.bmp"; 

myTiles[125].id = 125; 
myTiles[125].name = "125"; 
myTiles[125].walkable = true; 
myTiles[125].path = "res/125.bmp"; 

myTiles[126].id = 126; 
myTiles[126].name = "126"; 
myTiles[126].walkable = true; 
myTiles[126].path = "res/126.bmp"; 

myTiles[127].id = 127; 
myTiles[127].name = "127"; 
myTiles[127].walkable = false; 
myTiles[127].path = "res/127.bmp"; 

myTiles[128].id = 128; 
myTiles[128].name = "128"; 
myTiles[128].walkable = false; 
myTiles[128].path = "res/128.bmp"; 

myTiles[129].id = 129; 
myTiles[129].name = "129"; 
myTiles[129].walkable = false; 
myTiles[129].path = "res/129.bmp"; 

myTiles[130].id = 130; 
myTiles[130].name = "130"; 
myTiles[130].walkable = false; 
myTiles[130].path = "res/130.bmp"; 

myTiles[131].id = 131; 
myTiles[131].name = "131"; 
myTiles[131].walkable = false; 
myTiles[131].path = "res/131.bmp"; 

myTiles[132].id = 132; 
myTiles[132].name = "132"; 
myTiles[132].walkable = false; 
myTiles[132].path = "res/132.bmp"; 

myTiles[133].id = 133; 
myTiles[133].name = "133"; 
myTiles[133].walkable = false; 
myTiles[133].path = "res/133.bmp"; 

myTiles[134].id = 134; 
myTiles[134].name = "134"; 
myTiles[134].walkable = false; 
myTiles[134].path = "res/134.bmp"; 

myTiles[135].id = 135; 
myTiles[135].name = "135"; 
myTiles[135].walkable = false; 
myTiles[135].path = "res/135.bmp"; 

myTiles[136].id = 136; 
myTiles[136].name = "136"; 
myTiles[136].walkable = false; 
myTiles[136].path = "res/136.bmp"; 

myTiles[137].id = 137; 
myTiles[137].name = "137"; 
myTiles[137].walkable = false; 
myTiles[137].path = "res/137.bmp"; 

myTiles[138].id = 138; 
myTiles[138].name = "138"; 
myTiles[138].walkable = false; 
myTiles[138].path = "res/138.bmp"; 

myTiles[139].id = 139; 
myTiles[139].name = "139"; 
myTiles[139].walkable = false; 
myTiles[139].path = "res/139.bmp";

myTiles[140].id = 140; 
myTiles[140].name = "140"; 
myTiles[140].walkable = true; 
myTiles[140].path = "res/140.bmp"; 

myTiles[141].id = 141; 
myTiles[141].name = "141"; 
myTiles[141].walkable = true; 
myTiles[141].path = "res/141.bmp"; 

myTiles[142].id = 142; 
myTiles[142].name = "142"; 
myTiles[142].walkable = true; 
myTiles[142].path = "res/142.bmp"; 

myTiles[143].id = 143; 
myTiles[143].name = "143"; 
myTiles[143].walkable = true; 
myTiles[143].path = "res/143.bmp"; 

myTiles[144].id = 144; 
myTiles[144].name = "144"; 
myTiles[144].walkable = true; 
myTiles[144].path = "res/144.bmp"; 

myTiles[145].id = 145; 
myTiles[145].name = "145"; 
myTiles[145].walkable = true; 
myTiles[145].path = "res/145.bmp"; 

myTiles[146].id = 146; 
myTiles[146].name = "146"; 
myTiles[146].walkable = true; 
myTiles[146].path = "res/146.bmp"; 

myTiles[147].id = 147; 
myTiles[147].name = "147"; 
myTiles[147].walkable = true; 
myTiles[147].path = "res/147.bmp"; 

myTiles[148].id = 148; 
myTiles[148].name = "148"; 
myTiles[148].walkable = true; 
myTiles[148].path = "res/148.bmp"; 

myTiles[149].id = 149; 
myTiles[149].name = "149"; 
myTiles[149].walkable = true; 
myTiles[149].path = "res/149.bmp"; 

myTiles[150].id = 150; 
myTiles[150].name = "150"; 
myTiles[150].walkable = true; 
myTiles[150].path = "res/150.bmp"; 

myTiles[151].id = 151; 
myTiles[151].name = "151"; 
myTiles[151].walkable = true; 
myTiles[151].path = "res/151.bmp"; 

myTiles[152].id = 152; 
myTiles[152].name = "152"; 
myTiles[152].walkable = true; 
myTiles[152].path = "res/152.bmp"; 

myTiles[153].id = 153; 
myTiles[153].name = "153"; 
myTiles[153].walkable = true; 
myTiles[153].path = "res/153.bmp"; 

myTiles[154].id = 154; 
myTiles[154].name = "154"; 
myTiles[154].walkable = true; 
myTiles[154].path = "res/154.bmp"; 

myTiles[155].id = 155; 
myTiles[155].name = "155"; 
myTiles[155].walkable = true; 
myTiles[155].path = "res/155.bmp"; 

myTiles[156].id = 156; 
myTiles[156].name = "156"; 
myTiles[156].walkable = true; 
myTiles[156].path = "res/156.bmp"; 

myTiles[157].id = 157; 
myTiles[157].name = "157"; 
myTiles[157].walkable = true; 
myTiles[157].path = "res/157.bmp"; 

myTiles[158].id = 158; 
myTiles[158].name = "158"; 
myTiles[158].walkable = true; 
myTiles[158].path = "res/158.bmp"; 

myTiles[159].id = 159; 
myTiles[159].name = "159"; 
myTiles[159].walkable = true; 
myTiles[159].path = "res/159.bmp"; 

myTiles[160].id = 160; 
myTiles[160].name = "160"; 
myTiles[160].walkable = true; 
myTiles[160].path = "res/160.bmp"; 

myTiles[161].id = 161; 
myTiles[161].name = "161"; 
myTiles[161].walkable = true; 
myTiles[161].path = "res/161.bmp"; 

myTiles[162].id = 162; 
myTiles[162].name = "162"; 
myTiles[162].walkable = true; 
myTiles[162].path = "res/162.bmp"; 

myTiles[163].id = 163; 
myTiles[163].name = "163"; 
myTiles[163].walkable = true; 
myTiles[163].path = "res/163.bmp"; 

myTiles[164].id = 164; 
myTiles[164].name = "164"; 
myTiles[164].walkable = true; 
myTiles[164].path = "res/164.bmp"; 

myTiles[165].id = 165; 
myTiles[165].name = "165"; 
myTiles[165].walkable = true; 
myTiles[165].path = "res/165.bmp"; 

myTiles[166].id = 166; 
myTiles[166].name = "166"; 
myTiles[166].walkable = true; 
myTiles[166].path = "res/166.bmp"; 

myTiles[167].id = 167; 
myTiles[167].name = "167"; 
myTiles[167].walkable = true; 
myTiles[167].path = "res/167.bmp"; 

myTiles[168].id = 168; 
myTiles[168].name = "168"; 
myTiles[168].walkable = true; 
myTiles[168].path = "res/168.bmp"; 

myTiles[169].id = 169; 
myTiles[169].name = "169"; 
myTiles[169].walkable = true; 
myTiles[169].path = "res/169.bmp"; 

myTiles[170].id = 170; 
myTiles[170].name = "170"; 
myTiles[170].walkable = true; 
myTiles[170].path = "res/170.bmp"; 

myTiles[171].id = 171; 
myTiles[171].name = "171"; 
myTiles[171].walkable = true; 
myTiles[171].path = "res/171.bmp"; 

myTiles[172].id = 172; 
myTiles[172].name = "172"; 
myTiles[172].walkable = true; 
myTiles[172].path = "res/172.bmp"; 

myTiles[173].id = 173; 
myTiles[173].name = "173"; 
myTiles[173].walkable = true; 
myTiles[173].path = "res/173.bmp"; 

myTiles[174].id = 174; 
myTiles[174].name = "174"; 
myTiles[174].walkable = true; 
myTiles[174].path = "res/174.bmp"; 

myTiles[175].id = 175; 
myTiles[175].name = "175"; 
myTiles[175].walkable = true; 
myTiles[175].path = "res/175.bmp"; 

myTiles[176].id = 176; 
myTiles[176].name = "176"; 
myTiles[176].walkable = true; 
myTiles[176].path = "res/176.bmp"; 

myTiles[177].id = 177; 
myTiles[177].name = "177"; 
myTiles[177].walkable = true; 
myTiles[177].path = "res/177.bmp"; 

myTiles[178].id = 178; 
myTiles[178].name = "178"; 
myTiles[178].walkable = true; 
myTiles[178].path = "res/178.bmp"; 

myTiles[179].id = 179; 
myTiles[179].name = "179"; 
myTiles[179].walkable = true; 
myTiles[179].path = "res/179.bmp"; 

myTiles[180].id = 180; 
myTiles[180].name = "180"; 
myTiles[180].walkable = true; 
myTiles[180].path = "res/180.bmp"; 

myTiles[181].id = 181; 
myTiles[181].name = "181"; 
myTiles[181].walkable = true; 
myTiles[181].path = "res/181.bmp"; 

myTiles[182].id = 182; 
myTiles[182].name = "182"; 
myTiles[182].walkable = true; 
myTiles[182].path = "res/182.bmp"; 

myTiles[183].id = 183; 
myTiles[183].name = "183"; 
myTiles[183].walkable = true; 
myTiles[183].path = "res/183.bmp"; 

myTiles[184].id = 184; 
myTiles[184].name = "184"; 
myTiles[184].walkable = true; 
myTiles[184].path = "res/184.bmp"; 

myTiles[185].id = 185; 
myTiles[185].name = "185"; 
myTiles[185].walkable = true; 
myTiles[185].path = "res/185.bmp"; 

myTiles[186].id = 186; 
myTiles[186].name = "186"; 
myTiles[186].walkable = true; 
myTiles[186].path = "res/186.bmp"; 

myTiles[187].id = 187; 
myTiles[187].name = "187"; 
myTiles[187].walkable = true; 
myTiles[187].path = "res/187.bmp"; 

myTiles[188].id = 188; 
myTiles[188].name = "188"; 
myTiles[188].walkable = true; 
myTiles[188].path = "res/188.bmp"; 

myTiles[189].id = 189; 
myTiles[189].name = "189"; 
myTiles[189].walkable = true; 
myTiles[189].path = "res/189.bmp"; 

myTiles[190].id = 190; 
myTiles[190].name = "190"; 
myTiles[190].walkable = true; 
myTiles[190].path = "res/190.bmp"; 

myTiles[191].id = 191; 
myTiles[191].name = "191"; 
myTiles[191].walkable = true; 
myTiles[191].path = "res/191.bmp"; 

myTiles[192].id = 192; 
myTiles[192].name = "192"; 
myTiles[192].walkable = true; 
myTiles[192].path = "res/192.bmp"; 

myTiles[193].id = 193; 
myTiles[193].name = "193"; 
myTiles[193].walkable = true; 
myTiles[193].path = "res/193.bmp"; 

myTiles[194].id = 194; 
myTiles[194].name = "194"; 
myTiles[194].walkable = true; 
myTiles[194].path = "res/194.bmp"; 

myTiles[195].id = 195; 
myTiles[195].name = "195"; 
myTiles[195].walkable = true; 
myTiles[195].path = "res/195.bmp"; 

myTiles[196].id = 196; 
myTiles[196].name = "196"; 
myTiles[196].walkable = true; 
myTiles[196].path = "res/196.bmp"; 

myTiles[197].id = 197; 
myTiles[197].name = "197"; 
myTiles[197].walkable = true; 
myTiles[197].path = "res/197.bmp"; 

myTiles[198].id = 198; 
myTiles[198].name = "198"; 
myTiles[198].walkable = true; 
myTiles[198].path = "res/198.bmp"; 

myTiles[199].id = 199; 
myTiles[199].name = "199"; 
myTiles[199].walkable = true; 
myTiles[199].path = "res/199.bmp"; 

myTiles[200].id = 200; 
myTiles[200].name = "200"; 
myTiles[200].walkable = true; 
myTiles[200].path = "res/200.bmp"; 

myTiles[201].id = 201; 
myTiles[201].name = "201"; 
myTiles[201].walkable = true; 
myTiles[201].path = "res/201.bmp"; 

myTiles[202].id = 202; 
myTiles[202].name = "202"; 
myTiles[202].walkable = true; 
myTiles[202].path = "res/202.bmp"; 

myTiles[203].id = 203; 
myTiles[203].name = "203"; 
myTiles[203].walkable = true; 
myTiles[203].path = "res/203.bmp"; 

myTiles[204].id = 204; 
myTiles[204].name = "204"; 
myTiles[204].walkable = true; 
myTiles[204].path = "res/204.bmp"; 

myTiles[205].id = 205; 
myTiles[205].name = "205"; 
myTiles[205].walkable = true; 
myTiles[205].path = "res/205.bmp"; 

myTiles[206].id = 206; 
myTiles[206].name = "206"; 
myTiles[206].walkable = true; 
myTiles[206].path = "res/206.bmp"; 

myTiles[207].id = 207; 
myTiles[207].name = "207"; 
myTiles[207].walkable = true; 
myTiles[207].path = "res/207.bmp"; 

myTiles[208].id = 208; 
myTiles[208].name = "208"; 
myTiles[208].walkable = true; 
myTiles[208].path = "res/208.bmp"; 

myTiles[209].id = 209; 
myTiles[209].name = "209"; 
myTiles[209].walkable = true; 
myTiles[209].path = "res/209.bmp"; 

myTiles[210].id = 210; 
myTiles[210].name = "210"; 
myTiles[210].walkable = true; 
myTiles[210].path = "res/210.bmp"; 

myTiles[211].id = 211; 
myTiles[211].name = "211"; 
myTiles[211].walkable = true; 
myTiles[211].path = "res/211.bmp"; 

myTiles[212].id = 212; 
myTiles[212].name = "212"; 
myTiles[212].walkable = true; 
myTiles[212].path = "res/212.bmp"; 

myTiles[213].id = 213; 
myTiles[213].name = "213"; 
myTiles[213].walkable = true; 
myTiles[213].path = "res/213.bmp"; 

myTiles[214].id = 214; 
myTiles[214].name = "214"; 
myTiles[214].walkable = true; 
myTiles[214].path = "res/214.bmp"; 

myTiles[215].id = 215; 
myTiles[215].name = "215"; 
myTiles[215].walkable = true; 
myTiles[215].path = "res/215.bmp"; 

myTiles[216].id = 216; 
myTiles[216].name = "216"; 
myTiles[216].walkable = true; 
myTiles[216].path = "res/216.bmp"; 

myTiles[217].id = 217; 
myTiles[217].name = "217"; 
myTiles[217].walkable = true; 
myTiles[217].path = "res/217.bmp"; 

myTiles[218].id = 218; 
myTiles[218].name = "218"; 
myTiles[218].walkable = true; 
myTiles[218].path = "res/218.bmp"; 

myTiles[219].id = 219; 
myTiles[219].name = "219"; 
myTiles[219].walkable = true; 
myTiles[219].path = "res/219.bmp"; 

myTiles[220].id = 220; 
myTiles[220].name = "220"; 
myTiles[220].walkable = true; 
myTiles[220].path = "res/220.bmp"; 

myTiles[221].id = 221; 
myTiles[221].name = "221"; 
myTiles[221].walkable = true; 
myTiles[221].path = "res/221.bmp"; 

myTiles[222].id = 222; 
myTiles[222].name = "222"; 
myTiles[222].walkable = true; 
myTiles[222].path = "res/222.bmp"; 

myTiles[223].id = 223; 
myTiles[223].name = "223"; 
myTiles[223].walkable = true; 
myTiles[223].path = "res/223.bmp"; 

myTiles[224].id = 224; 
myTiles[224].name = "224"; 
myTiles[224].walkable = true; 
myTiles[224].path = "res/224.bmp"; 

myTiles[225].id = 225; 
myTiles[225].name = "225"; 
myTiles[225].walkable = true; 
myTiles[225].path = "res/225.bmp"; 

myTiles[226].id = 226; 
myTiles[226].name = "226"; 
myTiles[226].walkable = true; 
myTiles[226].path = "res/226.bmp"; 

myTiles[227].id = 227; 
myTiles[227].name = "227"; 
myTiles[227].walkable = true; 
myTiles[227].path = "res/227.bmp"; 

myTiles[228].id = 228; 
myTiles[228].name = "228"; 
myTiles[228].walkable = true; 
myTiles[228].path = "res/228.bmp"; 

myTiles[229].id = 229; 
myTiles[229].name = "229"; 
myTiles[229].walkable = true; 
myTiles[229].path = "res/229.bmp"; 

myTiles[230].id = 230; 
myTiles[230].name = "230"; 
myTiles[230].walkable = true; 
myTiles[230].path = "res/230.bmp"; 

myTiles[231].id = 231; 
myTiles[231].name = "231"; 
myTiles[231].walkable = true; 
myTiles[231].path = "res/231.bmp"; 

myTiles[232].id = 232; 
myTiles[232].name = "232"; 
myTiles[232].walkable = true; 
myTiles[232].path = "res/232.bmp"; 

myTiles[233].id = 233; 
myTiles[233].name = "233"; 
myTiles[233].walkable = true; 
myTiles[233].path = "res/233.bmp"; 

myTiles[234].id = 234; 
myTiles[234].name = "234"; 
myTiles[234].walkable = true; 
myTiles[234].path = "res/234.bmp"; 

myTiles[235].id = 235; 
myTiles[235].name = "235"; 
myTiles[235].walkable = true; 
myTiles[235].path = "res/235.bmp"; 

myTiles[236].id = 236; 
myTiles[236].name = "236"; 
myTiles[236].walkable = true; 
myTiles[236].path = "res/236.bmp"; 

myTiles[237].id = 237; 
myTiles[237].name = "237"; 
myTiles[237].walkable = true; 
myTiles[237].path = "res/237.bmp"; 

myTiles[238].id = 238; 
myTiles[238].name = "238"; 
myTiles[238].walkable = true; 
myTiles[238].path = "res/238.bmp"; 

myTiles[239].id = 239; 
myTiles[239].name = "239"; 
myTiles[239].walkable = true; 
myTiles[239].path = "res/239.bmp"; 

myTiles[240].id = 240; 
myTiles[240].name = "240"; 
myTiles[240].walkable = true; 
myTiles[240].path = "res/240.bmp"; 

myTiles[241].id = 241; 
myTiles[241].name = "241"; 
myTiles[241].walkable = true; 
myTiles[241].path = "res/241.bmp"; 

myTiles[242].id = 242; 
myTiles[242].name = "242"; 
myTiles[242].walkable = true; 
myTiles[242].path = "res/242.bmp"; 

myTiles[243].id = 243; 
myTiles[243].name = "243"; 
myTiles[243].walkable = true; 
myTiles[243].path = "res/243.bmp"; 

myTiles[244].id = 244; 
myTiles[244].name = "244"; 
myTiles[244].walkable = true; 
myTiles[244].path = "res/244.bmp"; 

myTiles[245].id = 245; 
myTiles[245].name = "245"; 
myTiles[245].walkable = true; 
myTiles[245].path = "res/245.bmp"; 

myTiles[246].id = 246; 
myTiles[246].name = "246"; 
myTiles[246].walkable = true; 
myTiles[246].path = "res/246.bmp"; 

myTiles[247].id = 247; 
myTiles[247].name = "247"; 
myTiles[247].walkable = true; 
myTiles[247].path = "res/247.bmp"; 

myTiles[248].id = 248; 
myTiles[248].name = "248"; 
myTiles[248].walkable = true; 
myTiles[248].path = "res/248.bmp"; 

myTiles[249].id = 249; 
myTiles[249].name = "249"; 
myTiles[249].walkable = true; 
myTiles[249].path = "res/249.bmp"; 

myTiles[250].id = 250; 
myTiles[250].name = "250"; 
myTiles[250].walkable = true; 
myTiles[250].path = "res/250.bmp"; 

myTiles[251].id = 251; 
myTiles[251].name = "251"; 
myTiles[251].walkable = true; 
myTiles[251].path = "res/251.bmp"; 

myTiles[252].id = 252; 
myTiles[252].name = "252"; 
myTiles[252].walkable = true; 
myTiles[252].path = "res/252.bmp"; 

myTiles[253].id = 253; 
myTiles[253].name = "253"; 
myTiles[253].walkable = true; 
myTiles[253].path = "res/253.bmp"; 

myTiles[254].id = 254; 
myTiles[254].name = "254"; 
myTiles[254].walkable = true; 
myTiles[254].path = "res/254.bmp"; 

myTiles[255].id = 255; 
myTiles[255].name = "255"; 
myTiles[255].walkable = true; 
myTiles[255].path = "res/255.bmp"; 

myTiles[256].id = 256; 
myTiles[256].name = "256"; 
myTiles[256].walkable = true; 
myTiles[256].path = "res/256.bmp"; 

myTiles[257].id = 257; 
myTiles[257].name = "257"; 
myTiles[257].walkable = true; 
myTiles[257].path = "res/257.bmp"; 

myTiles[258].id = 258; 
myTiles[258].name = "258"; 
myTiles[258].walkable = true; 
myTiles[258].path = "res/258.bmp"; 

myTiles[259].id = 259; 
myTiles[259].name = "259"; 
myTiles[259].walkable = true; 
myTiles[259].path = "res/259.bmp"; 

myTiles[260].id = 260; 
myTiles[260].name = "260"; 
myTiles[260].walkable = true; 
myTiles[260].path = "res/260.bmp"; 

myTiles[261].id = 261; 
myTiles[261].name = "261"; 
myTiles[261].walkable = true; 
myTiles[261].path = "res/261.bmp"; 

myTiles[262].id = 262; 
myTiles[262].name = "262"; 
myTiles[262].walkable = true; 
myTiles[262].path = "res/262.bmp"; 

myTiles[263].id = 263; 
myTiles[263].name = "263"; 
myTiles[263].walkable = true; 
myTiles[263].path = "res/263.bmp"; 

myTiles[264].id = 264; 
myTiles[264].name = "264"; 
myTiles[264].walkable = true; 
myTiles[264].path = "res/264.bmp"; 

myTiles[265].id = 265; 
myTiles[265].name = "265"; 
myTiles[265].walkable = true; 
myTiles[265].path = "res/265.bmp"; 

myTiles[266].id = 266; 
myTiles[266].name = "266"; 
myTiles[266].walkable = true; 
myTiles[266].path = "res/266.bmp"; 

myTiles[267].id = 267; 
myTiles[267].name = "267"; 
myTiles[267].walkable = true; 
myTiles[267].path = "res/267.bmp"; 

myTiles[268].id = 268; 
myTiles[268].name = "268"; 
myTiles[268].walkable = true; 
myTiles[268].path = "res/268.bmp"; 

myTiles[269].id = 269; 
myTiles[269].name = "269"; 
myTiles[269].walkable = true; 
myTiles[269].path = "res/269.bmp"; 

myTiles[270].id = 270; 
myTiles[270].name = "270"; 
myTiles[270].walkable = true; 
myTiles[270].path = "res/270.bmp"; 

myTiles[271].id = 271; 
myTiles[271].name = "271"; 
myTiles[271].walkable = true; 
myTiles[271].path = "res/271.bmp"; 

myTiles[272].id = 272; 
myTiles[272].name = "272"; 
myTiles[272].walkable = true; 
myTiles[272].path = "res/272.bmp"; 

myTiles[273].id = 273; 
myTiles[273].name = "273"; 
myTiles[273].walkable = true; 
myTiles[273].path = "res/273.bmp"; 

myTiles[274].id = 274; 
myTiles[274].name = "274"; 
myTiles[274].walkable = true; 
myTiles[274].path = "res/274.bmp"; 

myTiles[275].id = 275; 
myTiles[275].name = "275"; 
myTiles[275].walkable = true; 
myTiles[275].path = "res/275.bmp"; 

myTiles[276].id = 276; 
myTiles[276].name = "276"; 
myTiles[276].walkable = true; 
myTiles[276].path = "res/276.bmp"; 

myTiles[277].id = 277; 
myTiles[277].name = "277"; 
myTiles[277].walkable = true; 
myTiles[277].path = "res/277.bmp"; 

myTiles[278].id = 278; 
myTiles[278].name = "278"; 
myTiles[278].walkable = true; 
myTiles[278].path = "res/278.bmp"; 

myTiles[279].id = 279; 
myTiles[279].name = "279"; 
myTiles[279].walkable = true; 
myTiles[279].path = "res/279.bmp"; 

myTiles[280].id = 280; 
myTiles[280].name = "280"; 
myTiles[280].walkable = true; 
myTiles[280].path = "res/280.bmp"; 

myTiles[281].id = 281; 
myTiles[281].name = "281"; 
myTiles[281].walkable = true; 
myTiles[281].path = "res/281.bmp"; 

myTiles[282].id = 282; 
myTiles[282].name = "282"; 
myTiles[282].walkable = false; 
myTiles[282].path = "res/282.bmp"; 

myTiles[283].id = 283; 
myTiles[283].name = "283"; 
myTiles[283].walkable = false; 
myTiles[283].path = "res/283.bmp"; 

myTiles[284].id = 284; 
myTiles[284].name = "284"; 
myTiles[284].walkable = true; 
myTiles[284].path = "res/284.bmp"; 

myTiles[285].id = 285; 
myTiles[285].name = "285"; 
myTiles[285].walkable = true; 
myTiles[285].path = "res/285.bmp"; 

myTiles[286].id = 286; 
myTiles[286].name = "286"; 
myTiles[286].walkable = true; 
myTiles[286].path = "res/286.bmp"; 

myTiles[287].id = 287; 
myTiles[287].name = "287"; 
myTiles[287].walkable = true; 
myTiles[287].path = "res/287.bmp"; 

myTiles[288].id = 288; 
myTiles[288].name = "288"; 
myTiles[288].walkable = true; 
myTiles[288].path = "res/288.bmp"; 

myTiles[289].id = 289; 
myTiles[289].name = "289"; 
myTiles[289].walkable = true; 
myTiles[289].path = "res/289.bmp"; 

myTiles[290].id = 290; 
myTiles[290].name = "290"; 
myTiles[290].walkable = true; 
myTiles[290].path = "res/290.bmp"; 

myTiles[291].id = 291; 
myTiles[291].name = "291"; 
myTiles[291].walkable = true; 
myTiles[291].path = "res/291.bmp"; 

myTiles[292].id = 292; 
myTiles[292].name = "292"; 
myTiles[292].walkable = true; 
myTiles[292].path = "res/292.bmp"; 

myTiles[293].id = 293; 
myTiles[293].name = "293"; 
myTiles[293].walkable = true; 
myTiles[293].path = "res/293.bmp"; 

myTiles[294].id = 294; 
myTiles[294].name = "294"; 
myTiles[294].walkable = true; 
myTiles[294].path = "res/294.bmp"; 

myTiles[295].id = 295; 
myTiles[295].name = "295"; 
myTiles[295].walkable = true; 
myTiles[295].path = "res/295.bmp"; 

myTiles[296].id = 296; 
myTiles[296].name = "296"; 
myTiles[296].walkable = true; 
myTiles[296].path = "res/296.bmp"; 

myTiles[297].id = 297; 
myTiles[297].name = "297"; 
myTiles[297].walkable = true; 
myTiles[297].path = "res/297.bmp"; 

myTiles[298].id = 298; 
myTiles[298].name = "298"; 
myTiles[298].walkable = true; 
myTiles[298].path = "res/298.bmp"; 

myTiles[299].id = 299; 
myTiles[299].name = "299"; 
myTiles[299].walkable = true; 
myTiles[299].path = "res/299.bmp"; 

myTiles[300].id = 300; 
myTiles[300].name = "300"; 
myTiles[300].walkable = true; 
myTiles[300].path = "res/300.bmp"; 


myTiles[301].id = 301; 
myTiles[301].name = "301"; 
myTiles[301].walkable = true; 
myTiles[301].path = "res/301.bmp"; 

myTiles[302].id = 302; 
myTiles[302].name = "302"; 
myTiles[302].walkable = true; 
myTiles[302].path = "res/302.bmp"; 

myTiles[303].id = 303; 
myTiles[303].name = "303"; 
myTiles[303].walkable = true; 
myTiles[303].path = "res/303.bmp"; 

myTiles[304].id = 304; 
myTiles[304].name = "304"; 
myTiles[304].walkable = true; 
myTiles[304].path = "res/304.bmp"; 

myTiles[305].id = 305; 
myTiles[305].name = "305"; 
myTiles[305].walkable = true; 
myTiles[305].path = "res/305.bmp"; 

myTiles[306].id = 306; 
myTiles[306].name = "306"; 
myTiles[306].walkable = true; 
myTiles[306].path = "res/306.bmp"; 

myTiles[307].id = 307; 
myTiles[307].name = "307"; 
myTiles[307].walkable = true; 
myTiles[307].path = "res/307.bmp"; 

myTiles[308].id = 308; 
myTiles[308].name = "308"; 
myTiles[308].walkable = true; 
myTiles[308].path = "res/308.bmp"; 

myTiles[309].id = 309; 
myTiles[309].name = "309"; 
myTiles[309].walkable = true; 
myTiles[309].path = "res/309.bmp"; 

myTiles[310].id = 310; 
myTiles[310].name = "310"; 
myTiles[310].walkable = true; 
myTiles[310].path = "res/310.bmp"; 

myTiles[311].id = 311; 
myTiles[311].name = "311"; 
myTiles[311].walkable = true; 
myTiles[311].path = "res/311.bmp"; 

myTiles[312].id = 312; 
myTiles[312].name = "312"; 
myTiles[312].walkable = true; 
myTiles[312].path = "res/312.bmp"; 

myTiles[313].id = 313; 
myTiles[313].name = "313"; 
myTiles[313].walkable = true; 
myTiles[313].path = "res/313.bmp"; 

myTiles[314].id = 314; 
myTiles[314].name = "314"; 
myTiles[314].walkable = true; 
myTiles[314].path = "res/314.bmp"; 

myTiles[315].id = 315; 
myTiles[315].name = "315"; 
myTiles[315].walkable = true; 
myTiles[315].path = "res/315.bmp"; 

myTiles[316].id = 316; 
myTiles[316].name = "316"; 
myTiles[316].walkable = true; 
myTiles[316].path = "res/316.bmp"; 

myTiles[317].id = 317; 
myTiles[317].name = "317"; 
myTiles[317].walkable = true; 
myTiles[317].path = "res/317.bmp"; 

myTiles[318].id = 318; 
myTiles[318].name = "318"; 
myTiles[318].walkable = true; 
myTiles[318].path = "res/318.bmp"; 

myTiles[319].id = 319; 
myTiles[319].name = "319"; 
myTiles[319].walkable = true; 
myTiles[319].path = "res/319.bmp"; 

myTiles[320].id = 320; 
myTiles[320].name = "320"; 
myTiles[320].walkable = true; 
myTiles[320].path = "res/320.bmp"; 

myTiles[321].id = 321; 
myTiles[321].name = "321"; 
myTiles[321].walkable = true; 
myTiles[321].path = "res/321.bmp"; 

myTiles[322].id = 322; 
myTiles[322].name = "322"; 
myTiles[322].walkable = true; 
myTiles[322].path = "res/322.bmp"; 

myTiles[323].id = 323; 
myTiles[323].name = "323"; 
myTiles[323].walkable = true; 
myTiles[323].path = "res/323.bmp"; 

myTiles[324].id = 324; 
myTiles[324].name = "324"; 
myTiles[324].walkable = true; 
myTiles[324].path = "res/324.bmp"; 

myTiles[325].id = 325; 
myTiles[325].name = "325"; 
myTiles[325].walkable = true; 
myTiles[325].path = "res/325.bmp"; 

myTiles[326].id = 326; 
myTiles[326].name = "326"; 
myTiles[326].walkable = true; 
myTiles[326].path = "res/326.bmp"; 

myTiles[327].id = 327; 
myTiles[327].name = "327"; 
myTiles[327].walkable = true; 
myTiles[327].path = "res/327.bmp"; 

myTiles[328].id = 328; 
myTiles[328].name = "328"; 
myTiles[328].walkable = true; 
myTiles[328].path = "res/328.bmp"; 

myTiles[329].id = 329; 
myTiles[329].name = "329"; 
myTiles[329].walkable = true; 
myTiles[329].path = "res/329.bmp"; 

myTiles[330].id = 330; 
myTiles[330].name = "330"; 
myTiles[330].walkable = true; 
myTiles[330].path = "res/330.bmp"; 

myTiles[331].id = 331; 
myTiles[331].name = "331"; 
myTiles[331].walkable = true; 
myTiles[331].path = "res/331.bmp"; 

myTiles[332].id = 332; 
myTiles[332].name = "332"; 
myTiles[332].walkable = true; 
myTiles[332].path = "res/332.bmp"; 

myTiles[333].id = 333; 
myTiles[333].name = "333"; 
myTiles[333].walkable = true; 
myTiles[333].path = "res/333.bmp"; 

myTiles[334].id = 334; 
myTiles[334].name = "334"; 
myTiles[334].walkable = true; 
myTiles[334].path = "res/334.bmp"; 

myTiles[335].id = 335; 
myTiles[335].name = "335"; 
myTiles[335].walkable = true; 
myTiles[335].path = "res/335.bmp"; 

myTiles[336].id = 336; 
myTiles[336].name = "336"; 
myTiles[336].walkable = true; 
myTiles[336].path = "res/336.bmp"; 

myTiles[337].id = 337; 
myTiles[337].name = "337"; 
myTiles[337].walkable = true; 
myTiles[337].path = "res/337.bmp"; 

myTiles[338].id = 338; 
myTiles[338].name = "338"; 
myTiles[338].walkable = true; 
myTiles[338].path = "res/338.bmp"; 

myTiles[339].id = 339; 
myTiles[339].name = "339"; 
myTiles[339].walkable = true; 
myTiles[339].path = "res/339.bmp"; 

myTiles[340].id = 340; 
myTiles[340].name = "340"; 
myTiles[340].walkable = true; 
myTiles[340].path = "res/340.bmp"; 

myTiles[341].id = 341; 
myTiles[341].name = "341"; 
myTiles[341].walkable = true; 
myTiles[341].path = "res/341.bmp"; 

myTiles[342].id = 342; 
myTiles[342].name = "342"; 
myTiles[342].walkable = true; 
myTiles[342].path = "res/342.bmp"; 

myTiles[343].id = 343; 
myTiles[343].name = "343"; 
myTiles[343].walkable = true; 
myTiles[343].path = "res/343.bmp"; 

myTiles[344].id = 344; 
myTiles[344].name = "344"; 
myTiles[344].walkable = true; 
myTiles[344].path = "res/344.bmp"; 

myTiles[345].id = 345; 
myTiles[345].name = "345"; 
myTiles[345].walkable = true; 
myTiles[345].path = "res/345.bmp"; 

myTiles[346].id = 346; 
myTiles[346].name = "346"; 
myTiles[346].walkable = true; 
myTiles[346].path = "res/346.bmp"; 

myTiles[347].id = 347; 
myTiles[347].name = "347"; 
myTiles[347].walkable = true; 
myTiles[347].path = "res/347.bmp"; 

myTiles[348].id = 348; 
myTiles[348].name = "348"; 
myTiles[348].walkable = true; 
myTiles[348].path = "res/348.bmp"; 

myTiles[349].id = 349; 
myTiles[349].name = "349"; 
myTiles[349].walkable = true; 
myTiles[349].path = "res/349.bmp"; 

myTiles[350].id = 350; 
myTiles[350].name = "350"; 
myTiles[350].walkable = true; 
myTiles[350].path = "res/350.bmp"; 

myTiles[351].id = 351; 
myTiles[351].name = "351"; 
myTiles[351].walkable = true; 
myTiles[351].path = "res/351.bmp"; 

myTiles[352].id = 352; 
myTiles[352].name = "352"; 
myTiles[352].walkable = true; 
myTiles[352].path = "res/352.bmp"; 

myTiles[353].id = 353; 
myTiles[353].name = "353"; 
myTiles[353].walkable = true; 
myTiles[353].path = "res/353.bmp"; 

myTiles[354].id = 354; 
myTiles[354].name = "354"; 
myTiles[354].walkable = true; 
myTiles[354].path = "res/354.bmp"; 

myTiles[355].id = 355; 
myTiles[355].name = "355"; 
myTiles[355].walkable = true; 
myTiles[355].path = "res/355.bmp"; 

myTiles[356].id = 356; 
myTiles[356].name = "356"; 
myTiles[356].walkable = true; 
myTiles[356].path = "res/356.bmp"; 

myTiles[357].id = 357; 
myTiles[357].name = "357"; 
myTiles[357].walkable = true; 
myTiles[357].path = "res/357.bmp"; 

myTiles[358].id = 358; 
myTiles[358].name = "358"; 
myTiles[358].walkable = true; 
myTiles[358].path = "res/358.bmp"; 

myTiles[359].id = 359; 
myTiles[359].name = "359"; 
myTiles[359].walkable = true; 
myTiles[359].path = "res/359.bmp"; 

myTiles[360].id = 360; 
myTiles[360].name = "360"; 
myTiles[360].walkable = true; 
myTiles[360].path = "res/360.bmp"; 

myTiles[361].id = 361; 
myTiles[361].name = "361"; 
myTiles[361].walkable = true; 
myTiles[361].path = "res/361.bmp"; 

myTiles[362].id = 362; 
myTiles[362].name = "362"; 
myTiles[362].walkable = true; 
myTiles[362].path = "res/362.bmp"; 

myTiles[363].id = 363; 
myTiles[363].name = "363"; 
myTiles[363].walkable = true; 
myTiles[363].path = "res/363.bmp"; 

myTiles[364].id = 364; 
myTiles[364].name = "364"; 
myTiles[364].walkable = true; 
myTiles[364].path = "res/364.bmp"; 

myTiles[365].id = 365; 
myTiles[365].name = "365"; 
myTiles[365].walkable = true; 
myTiles[365].path = "res/365.bmp"; 

myTiles[366].id = 366; 
myTiles[366].name = "366"; 
myTiles[366].walkable = true; 
myTiles[366].path = "res/366.bmp"; 

myTiles[367].id = 367; 
myTiles[367].name = "367"; 
myTiles[367].walkable = true; 
myTiles[367].path = "res/367.bmp"; 

myTiles[368].id = 368; 
myTiles[368].name = "368"; 
myTiles[368].walkable = true; 
myTiles[368].path = "res/368.bmp"; 

myTiles[369].id = 369; 
myTiles[369].name = "369"; 
myTiles[369].walkable = true; 
myTiles[369].path = "res/369.bmp"; 

myTiles[370].id = 370; 
myTiles[370].name = "370"; 
myTiles[370].walkable = true; 
myTiles[370].path = "res/370.bmp"; 

myTiles[371].id = 371; 
myTiles[371].name = "371"; 
myTiles[371].walkable = true; 
myTiles[371].path = "res/371.bmp"; 

myTiles[372].id = 372; 
myTiles[372].name = "372"; 
myTiles[372].walkable = true; 
myTiles[372].path = "res/372.bmp"; 

myTiles[373].id = 373; 
myTiles[373].name = "373"; 
myTiles[373].walkable = true; 
myTiles[373].path = "res/373.bmp"; 

myTiles[374].id = 374; 
myTiles[374].name = "374"; 
myTiles[374].walkable = true; 
myTiles[374].path = "res/374.bmp"; 

myTiles[375].id = 375; 
myTiles[375].name = "375"; 
myTiles[375].walkable = true; 
myTiles[375].path = "res/375.bmp"; 

myTiles[376].id = 376; 
myTiles[376].name = "376"; 
myTiles[376].walkable = true; 
myTiles[376].path = "res/376.bmp"; 

myTiles[377].id = 377; 
myTiles[377].name = "377"; 
myTiles[377].walkable = true; 
myTiles[377].path = "res/377.bmp"; 

myTiles[378].id = 378; 
myTiles[378].name = "378"; 
myTiles[378].walkable = true; 
myTiles[378].path = "res/378.bmp"; 

myTiles[379].id = 379; 
myTiles[379].name = "379"; 
myTiles[379].walkable = true; 
myTiles[379].path = "res/379.bmp"; 

myTiles[380].id = 380; 
myTiles[380].name = "380"; 
myTiles[380].walkable = true; 
myTiles[380].path = "res/380.bmp"; 

myTiles[381].id = 381; 
myTiles[381].name = "381"; 
myTiles[381].walkable = true; 
myTiles[381].path = "res/381.bmp"; 

myTiles[382].id = 382; 
myTiles[382].name = "382"; 
myTiles[382].walkable = true; 
myTiles[382].path = "res/382.bmp"; 

myTiles[383].id = 383; 
myTiles[383].name = "383"; 
myTiles[383].walkable = true; 
myTiles[383].path = "res/383.bmp"; 

myTiles[384].id = 384; 
myTiles[384].name = "384"; 
myTiles[384].walkable = true; 
myTiles[384].path = "res/384.bmp"; 

myTiles[385].id = 385; 
myTiles[385].name = "385"; 
myTiles[385].walkable = true; 
myTiles[385].path = "res/385.bmp"; 

myTiles[386].id = 386; 
myTiles[386].name = "386"; 
myTiles[386].walkable = true; 
myTiles[386].path = "res/386.bmp"; 

myTiles[387].id = 387; 
myTiles[387].name = "387"; 
myTiles[387].walkable = true; 
myTiles[387].path = "res/387.bmp"; 

myTiles[388].id = 388; 
myTiles[388].name = "388"; 
myTiles[388].walkable = true; 
myTiles[388].path = "res/388.bmp"; 

myTiles[389].id = 389; 
myTiles[389].name = "389"; 
myTiles[389].walkable = true; 
myTiles[389].path = "res/389.bmp"; 

myTiles[390].id = 390; 
myTiles[390].name = "390"; 
myTiles[390].walkable = true; 
myTiles[390].path = "res/390.bmp"; 

myTiles[391].id = 391; 
myTiles[391].name = "391"; 
myTiles[391].walkable = true; 
myTiles[391].path = "res/391.bmp"; 

myTiles[392].id = 392; 
myTiles[392].name = "392"; 
myTiles[392].walkable = true; 
myTiles[392].path = "res/392.bmp"; 

myTiles[393].id = 393; 
myTiles[393].name = "393"; 
myTiles[393].walkable = true; 
myTiles[393].path = "res/393.bmp"; 

myTiles[394].id = 394; 
myTiles[394].name = "394"; 
myTiles[394].walkable = true; 
myTiles[394].path = "res/394.bmp"; 

myTiles[395].id = 395; 
myTiles[395].name = "395"; 
myTiles[395].walkable = true; 
myTiles[395].path = "res/395.bmp"; 

myTiles[396].id = 396; 
myTiles[396].name = "396"; 
myTiles[396].walkable = true; 
myTiles[396].path = "res/396.bmp"; 

myTiles[397].id = 397; 
myTiles[397].name = "397"; 
myTiles[397].walkable = true; 
myTiles[397].path = "res/397.bmp"; 

myTiles[398].id = 398; 
myTiles[398].name = "398"; 
myTiles[398].walkable = true; 
myTiles[398].path = "res/398.bmp"; 

myTiles[399].id = 399; 
myTiles[399].name = "399"; 
myTiles[399].walkable = true; 
myTiles[399].path = "res/399.bmp"; 



}


